<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>为元素添加圆角</title>
</head>

<body>

    <head>
        <style>
            p.normal {
                border: 2px solid red;
            }

            p.round1 {
                border: 2px solid red;
                border-radius: 5px;
            }

            p.round2 {
                border: 2px solid red;
                border-radius: 8px;
            }

            p.round3 {
                border: 2px solid red;
                border-radius: 12px;
            }
        </style>
    </head>
    <h1>border-radius 属性</h1>

    <p>此属性用于为元素添加圆角：</p>

    <p class="normal">普通边框</p>
    <p class="round1">圆角边框</p>
    <p class="round2">角更圆的边框</p>
    <p class="round3">角最圆的边框</p>


</body>

</html>